package com.hmall.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

@Table(name = "mall_order_fufillment_parent")
public class MallOrderFufillmentParent {
    @Id
    @Column(name = "mall_order_fufillment_parent_id")
    private Integer mallOrderFufillmentParentId;

    @Column(name = "fufillment_no")
    private String fufillmentNo;

    @Column(name = "create_time")
    private Date createTime;

    @Column(name = "update_time")
    private Date updateTime;

    @Column(name = "order_no")
    private Long orderNo;

    @Column(name = "is_received")
    private Integer isReceived;

    @Column(name = "pay_time")
    private Date payTime;

    @Column(name = "status")
    private Integer status;

    @Column(name = "unpayment")
    private BigDecimal unpayment;

    public BigDecimal getUnpayment() {
        return unpayment;
    }

    public void setUnpayment(BigDecimal unpayment) {
        this.unpayment = unpayment;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    private String address;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getIsReceived() {
        return isReceived;
    }

    public void setIsReceived(Integer isReceived) {
        this.isReceived = isReceived;
    }

    /**
     * @return mall_order_fufillment_parent_id
     */
    public Integer getMallOrderFufillmentParentId() {
        return mallOrderFufillmentParentId;
    }

    /**
     * @param mallOrderFufillmentParentId
     */
    public void setMallOrderFufillmentParentId(Integer mallOrderFufillmentParentId) {
        this.mallOrderFufillmentParentId = mallOrderFufillmentParentId;
    }

    public String getFufillmentNo() {
        return fufillmentNo;
    }

    public void setFufillmentNo(String fufillmentNo) {
        this.fufillmentNo = fufillmentNo;
    }

    /**
     * @return create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * @return update_time
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * @param updateTime
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * @return order_no
     */
    public Long getOrderNo() {
        return orderNo;
    }

    /**
     * @param orderNo
     */
    public void setOrderNo(Long orderNo) {
        this.orderNo = orderNo;
    }
}